﻿using Zhp.Entity.Message.Email;
using Zhp.Model.Message.Email;

namespace Zhp.IService.Message.Email
{
    public interface IEmailTemplateRender
    {
        public Task<EmailTemplate> RenderTemplateAsync(EmailTemplate tpl, object renderData);
        public Task<List<TemplateVariableModel>> QueryVariableClass();
        public Task<List<TemplateVariableModel>> QueryVariable(string variableClass);
        public Task<TemplateVariableJson> QueryDefaultJson(string variableClass);
        public Type GetVariableClassType(string variableClass);
    }
}
